* {
    padding: 0;
    margin: 0;
    list-style: none;
}

@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot?n5e2ga');
    src: url('fonts/icomoon.eot?n5e2ga#iefix') format('embedded-opentype'),
        url('fonts/icomoon.ttf?n5e2ga') format('truetype'),
        url('fonts/icomoon.woff?n5e2ga') format('woff'),
        url('fonts/icomoon.svg?n5e2ga#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


main {
    position: relative;
    margin: 0 auto;
    width: 800px;
    background-color: #F7FEFF;
}


.searchMain {
    position: absolute;
    left: 116px;
    top: -92px;
    display: flex;
    justify-content: center;
    margin: 30px 0;
    width: 100%;
    height: 100px;
}

.searchMain input {
    border: 1px solid black;
    height: 30px;
    width: 250px;
    text-indent: 1em;
    font-size: 16px;
    outline: none;
}

.searchMain span {
    display: block;
    font-family: 'icomoon';
    font-size: 20px;
    text-align: center;
    line-height: 30px;
    border: 1px solid black;
    color: whitesmoke;
    height: 30px;
    width: 30px;
    background-color: #B50505;
    cursor: pointer;
}

.logo {
    font-family: 'Courier New', Courier, monospace;
    line-height: 50px;
    height: 100%;
    cursor: pointer;
}

footer {
    margin-top: 100px;
    width: 100%;
    height: 200px;
}

.wall {
    border-top: 1px solid black;
}

#nav3 {
    height: 200px;
    position: fixed;
    z-index: 200;
    left: 50%;
    top: 50%;
    transform: translate(400px, 0px);
}

#nav3 a {
    font-size: 18px;
    color: #D7D7D7;
    text-decoration: none;
}

#nav3 a:hover {
    color: aqua;
}

#nav3 a:active {
    color: #FF7F27;
}

header {
    position: sticky;
    top: 0px;
    background-color: #7F7F7F;
    height: 50px;
    margin-bottom: 100px;
    z-index: 100;
    box-shadow: 0px 3px 2px #7F7F7F;
}

.header {
    height: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    width: 1000px;
}

div[class^="nav"] {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

div[class^="nav"] ul {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
}

div[class^="nav"] ul li a {
    display: block;
    text-decoration: none;
    color: black;
    box-sizing: border-box;
}

div[class^="nav"] ul li a:hover {
    border-bottom: 3px solid rgba(255, 0, 0, .5);
}

div[class^="nav"] ul li,
div[class^="nav"] ul li a {
    line-height: 50px;
    height: 100%;
    cursor: pointer;
}

.nav1 {
    width: 500px;
}

.nav2 {
    width: 400px;
}

.nav2 ul li span {
    border-left: 1px solid #C3C3C3;
}

.search {
    width: 200px;
    display: flex;
    justify-content: center;
}

.search input {
    background-color: #7F7F7F;
    height: 40px;
    border: none;
    border-bottom: 1px solid black;
    text-indent: 1em;
    font-size: 16px;
    outline: none;
}

.search span {
    height: 20px;
    font-family: 'icomoon';
    transform: translate(6px, 18px);
    cursor: pointer;
}

main .classify {
    margin: 0 auto;
    margin-top: 20px;
    width: 700px;
    height: 200px;
    font-size: 20px;
}


.bottom {
    display: flex;
    justify-content: space-between;
    height: 180px;
    /* background-color: aqua; */
}

div[class^="left"] {
    text-align: center;
    padding-top: 20px;
    width: 20%;
    height: 100%;
}

.bottom .right {
    display: flex;
    justify-content: space-around;
    width: 80%;
    height: 100%;
    /* background-color: rgb(0, 255, 98); */
}

.bottom .right ul {
    margin-top: 5px;
    width: 30%;
    height: 100%;
}

.bottom .right ul li {
    color: #7F7F7F;
    margin-top: 6px;
}

.bottom .right ul li::before {
    content: "";
    font-family: 'icomoon';
    line-height: 20px;
}

#writer {
    margin: 0 auto;
    width: 1120px;
    height: 100%;
    text-align: center;
}

.writer {
    display: flex;
    justify-content: space-around;
    width: 1120px;
    height: 180px;
}

.writer li {
    height: 100%;
    width: 120px;
    margin-right: 20px;
    text-align: center;
}


.writer ul ul li {
    position: relative;
    text-align: left;
    margin-top: 5px;
    padding-left: 20px;
    font-family: 'Courier New', Courier, monospace;
}

.writer ul ul li a {
    color: #7F7F7F;
    display: block;
    text-decoration: none;
}

.writer ul ul li a:hover {
    color: silver;
}

.writer ul ul li::before {
    position: absolute;
    content: "";
    display: block;
    border-radius: 2px;
    text-align: center;
    left: 0;
    top: -2px;
    width: 20px;
    height: 20px;
    background-color: #7F7F7F;
}

.writer ul ul .o1::before {
    background-color: #ED1C24;
}

.writer ul ul .o2::before {
    background-color: #FF7F27;
}

.writer ul ul .o3::before {
    background-color: #FFE075;
}

.writer ul ul .o1::before {
    content: "1";
}

.writer ul ul .o2::before {
    content: "2";
}

.writer ul ul .o3::before {
    content: "3";
}

.writer ul ul .o4::before {
    content: "4";
}

.writer ul ul .o5::before {
    content: "5";
}